package beans;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
public enum LoginStatus {
    LOGIN_SUCCESS(100,"登录成功"),
    LOGIN_FAIL(101,"用户名或密码错误"),
    LOGIN_OUT(102,"用户已注销");

    @Getter
    private Integer code;//状态码

    @Getter
    private String msg;//提示信息
}
